<template>
  <a-card style="position: relative">
    <!-- table区域-begin -->
    <div>
      <a-table
        ref="table"
        size="middle"
        bordered
        rowKey="id"
        :columns="columns"
        :dataSource="dataSource"
        :pagination="ipagination"
        :loading="loading"
        @change="handleTableChange">
        <span slot="title2" slot-scope="text">
          <j-ellipsis :value="text" :length="20"/>
        </span>
        <span slot="summary" slot-scope="text">
          <j-ellipsis :value="text" :length="30"/>
        </span>
        <span slot="actionName">
          <span>操作</span>
        </span>
        <span slot="action" slot-scope="text, record">
          <a @click="handleCheck(record,'审计知识文献-查看')">查看</a>
        </span>
      </a-table>
    </div>
    <!-- table区域-end -->
    <CheckAndEditModel ref="modalForm" @ok="modalFormOk"></CheckAndEditModel>
  </a-card>
</template>
<script>

  import {httpAction, getAction} from '@/api/manage'
  import {JeecgListMixin} from '@/mixins/JeecgListMixin'
  import CheckAndEditModel from './CheckAndEditModel'
  import JEditor from '@/components/jeecg/JEditor'
  import columns from './indexColumns'

  export default {
    name: "知识文献",
    mixins: [JeecgListMixin],
    components: {
      CheckAndEditModel,
      JEditor
    },
    data() {
      return {
        // 表头
        columns: columns(this),
        url: {
          list: '/sjzszhly/sjKnowledgeLiterature/literatureList',
        },
      }
    },
    computed: {},
    methods: {},
    created() {
    },
  }
</script>
<style scoped>
  @import '~@assets/less/common.less'
</style>
